package com.orange.cetback.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.*;

/**
 * <p>
 * 用户签到记录表
 * </p>
 *
 * @author chenenjun
 * @since 2025-02-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_checkins")
public class UserCheckins implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 签到记录ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 签到日期
     */
    private LocalDate checkinDate;

    /**
     * 记录创建时间
     */
    private LocalDateTime createdTime;
}
